Skip to content

feat(console-ai): an AI build shows the app itself in the main area, with one Publish on screen - #34713

Merged
os-zhuang merged 14 commits into
mainfrom
claude/issue-34610-drawer-build
Nov 17, 2026
Merged

os-zhuang merged 14 commits into
mainfrom
claude/issue-34610-drawer-build

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

Fixes #34610

Implements ui ADR-0057 Amendment A3 and ADR-0037 as amended (#34640, merged), on top of #34665 (merged). Ruling 6937505798 on #34610.

维护者速读

  • 改了什么:用 AI 搭建时,聊天留在右侧抽屉,主区域直接显示正在搭建的应用,并随每个草稿件原地刷新。嵌套的 Live Canvas iframe 和分屏去掉了。新应用(已物化、未上架)按 ADR-0045 显示为真实应用,由「尚未发布」条发布;已发布应用的改动在 ?preview=draft 中显示,由草稿栏发布。整屏只有一个发布按钮,聊天里不再有发布按钮,只给指引,发布后在聊天里显示回执。计数统一为当前应用的待发布改动(应用包加上它的 ADR-0146 定制包)。Studio 副驾的放大改为原地加宽,不再跳到 /ai/build。
  • 本轮修复(L1-b REWORK 6943358263 的实机读数中发现):代码安装的应用(如 CRM)改动落在 <base>.custom 定制包,按单包计数会读成 0;新应用「尚未发布」条的发布按路由段(包 id)保存被服务端拒绝;同一对象在后续回合再次起草时主区域不进草稿模式;搭建结果卡仍写着「在聊天里点发布」。四处都已修复并加了测试。
  • 为什么改:AI 搭建:在右侧抽屉里搭建,主区域直接显示应用草稿本身;去掉嵌套预览,整屏一个发布按钮、一个改动数 #34610 的「同意」裁定(6937505798);ADR 依据 docs(adr): ui ADR-0057 Amendment A3, the AI assistant is one right-side drawer, maximized in place #34640(A3「Building」「One publish control」「One container」)。
  • 风险与回滚:只改控制台前端(app-shell、plugin-chatbot 一个可选 prop、i18n 新键),不动元数据、契约和服务端。回滚即 revert。
  • 先看:console/ai/mainAreaDraft.ts(主区去向与两种发布形态)、AiChatPage.tsx 的 ChatPane 主区块(只在进行中的回合移动、跨页移动等回合结束)、PendingDraftsBar.tsx、preview/DraftPreviewBar.tsx(按包计数、按包发布、不再整页刷新)。
  • 两分钟验证:pnpm --dir ui exec vitest run packages/app-shell/src/console/ai/__tests__/mainAreaDraft-34610.test.ts packages/app-shell/src/console/ai/__tests__/AiChatPage.draftInMainArea-34610.test.tsx packages/app-shell/src/console/ai/__tests__/PendingDraftsBar.test.tsx packages/app-shell/src/preview/__tests__/DraftPreviewBar.test.tsx packages/app-shell/src/views/studio-design/__tests__/studioCopilotWidenInPlace-34610.test.tsx,预期全部通过。

What changes

The app shows in the main area (console/ai/mainAreaDraft.ts, AiChatPage.tsx)

  • mainAreaDraftMove(target, here, inPlace) decides where the main area goes. It stays on the current page when the drawer sits beside the app being built, and otherwise opens /apps/<package>. Changes to a published app get ?preview=draft. A materialized build shows the real app, and if it leaves draft mode the sticky preview keeper is told (markPreviewExit).
  • ChatPane moves the main area only for drafts reported during a turn it is streaming:
    • a move to another page waits for the turn to end, so the stream in flight is not cut;
    • a conversation reopened from history moves nothing;
    • a new build moves in only after its package binds (A1).
  • Each drafted artifact emits one coalesced emitCanvasInvalidate per type (200 ms), the per-artifact refresh of ADR-0037 Phase 2. emitMetadataRefresh runs once more when the turn ends.
  • Removed: LiveCanvas.tsx, the split pane, the resizable chat width, the mobile canvas pill and overlay. The dock's auto-maximize latch (maximize/restore, driven by the canvas) is removed from ChatDock.tsx and ChatDockConversation.tsx.

One Publish on screen

  • ChatbotEnhanced takes publishFromShellBar. When set, the draft cards draw no Publish; Preview, the Published badge and auto-publish stay.
  • PendingDraftsBar no longer publishes. While the main area shows this package's draft it says "N unpublished changes. Publish them from the draft bar at the top." Otherwise it offers Show draft.
  • A publish from the draft bar or the unpublished-app bar emits emitPublishReceipt (assistant bus). The chat shows "Published. Your changes are live." until drafts are pending again or the receipt is dismissed.

One count, two wordings

  • Scope = the app's package plus its ADR-0146 customization pair. DraftPreviewBar, its DraftChangesPanel and the chat count one app's drafts: those whose package is the app's package or its pair <base>.custom (appDraftPackages in preview/usePendingDrafts.ts, built on the spec's customizationPackageId / customizationBasePackageId). They read the env-wide _drafts and filter, because the pair may not be installed and ?package= refuses a package that is not. A code-shipped app's edits are drafted into the pair, so a count scoped to the base alone read 0 (measured live, below). Another app's drafts and package-less drafts are not counted.
  • The bar's separate "on this page" count is gone (draftSurface.ts keeps only the deep-link path).
  • The draft bar publishes that app (publishAll({ packageId }): the base and the pair, each through its own publish-drafts) and no longer reloads the page, so the drawer conversation and the receipt survive. The chat matches a receipt by the base package, so a receipt for the pair is the same app's.
  • On a page outside any app (no route app) the bar counts and publishes environment-wide, as before, with the older generic wording: there is no app to scope to.
  • New wordings: preview.unpublishedBar.notPublishedYet ("This app is not published yet…") and preview.draftBar.pendingInApp ("N unpublished changes in this app", with plural forms).

Fixed in this round, found by the live readings

  • UnpublishedAppBar saved the app under the route segment. For every app the AI builds that segment is the package id (ADR-0048), and the meta door refuses an app whose name disagrees with its key, so Publish on a new app failed. It now saves under the app's own name.
  • An edit that re-drafts an artifact the conversation already listed (the object a build made, edited in the next turn) never reached onDraftArtifacts, whose set only fires when it grows. The main area stayed out of draft mode with the edit pending. A finished live turn now reads its own draft review (turnDraftPackage), moves the main area to that app, and refreshes the drafted types.
  • The build result card's footer still said "click Publish here in the chat". Under publishFromShellBar that sentence is not drawn.

Studio copilot

  • Expand widens the copilot's slot in place (StudioRightSlot wideWidth) and the same button restores. It no longer navigates to /ai/build?package=… (A3 "One container").
  • Without a drawer host there is no main area to move, so the copilot's cards draw no Preview, and Studio's own top bar publishes.

i18n. New keys in all 11 packs (zh-Hant regenerated): preview.draftBar.pendingInApp, preview.unpublishedBar.notPublishedYet, and console.ai.pendingDrafts.publishFromBar / showDraftToPublish (plurals), showDraft, receipt, dismissReceipt. No existing value changed. The changeset lists the keys the console no longer reads.

Why

Ruling 6937505798 on #34610: "the build happens in the same right drawer with the app draft itself in the main area; no nested preview; one publish button and one change count." #34640's contract review added the ADR-0045 regimes (a new app is materialized and published by its own bar) and the Studio in-place maximize.

Verification

  • Live readings (L1-b M1) on head 2621daf5, from a booted console (Vite dev server over a fresh CRM example backend), standing in only for /api/v1/ai/**. The stand-in streams a real UI-message stream and performs each turn's metadata writes against the real backend before streaming the tool result that names them. Script, readings.txt and 17 screenshots: /mnt/project-files/objectstack-seat3/34610-live/. The readings are posted as a PR comment. In summary:
    • Acceptance 2: the main area stays on /home mid-turn and moves to /apps/com.example.tracker/tracker_task once the turn ends. The new app shows its own nav, the unpublished-app bar and no draft bar. 1 Publish on screen, 0 iframes. Publish from that bar puts the receipt in the chat. In zh-CN the bar reads 「这个应用还没发布过…」.
    • Acceptance 1: a drawer edit in the published app enters ?preview=draft on the same page, with the draft bar on top and 0 iframes.
    • Acceptance 3: 1 visible Publish with the drawer open and the result card drawn. The chat line, the Changes button and the changes panel all read 1, while the environment holds another package's draft too (2 env-wide).
    • Acceptance 4: Publish from the bar puts the receipt in the chat and removes the bar. It is the same document (no reload), and the conversation is kept. The published field is in the New record form without a reload and after one.
    • CRM pair: the view edit lands in com.example.crm.custom (?package=com.example.crm lists nothing). The bar, the panel and the chat line still read 1, Publish empties the pair and the receipt shows.
    • Studio: expand widens the slot from 360 to 920 px with the URL unchanged, and the same button restores it.
    • 375 px: the drawer sheet and the draft bar show, with 0 iframes and no horizontal overflow.
    • Not met, and not from this PR: under draft preview a draft-only field does not show in the New record form. A fresh ?preview=draft load with the same draft does not show it either, so this is the preview overlay's reach, not this PR. After Publish it shows without a reload. Tracked as Draft preview: a field that exists only in the draft is missing from the New record form, and a draft list column on it makes the list query refused #34807.
  • i18n budget (seat ruling 08:39Z): after merging main 07f2861 (which brings feat(console): phone Home folds the setup checklist to one line after the apps; the phone bar's badge and title fit #34723's eager key), a console build (turbo run build --filter=@object-ui/console..., then pnpm check:eager-closure) reads i18n-locale-en at 61,824 B gzip (60.4 KB of the 60.5 KB ceiling, headroom 176 B), exit 0. The previous reading, at 159bd73, was 61,746 B. This PR adds no locale key after that. CI's Build & E2E UI on the 2621daf merge ref read the same 60.4 KB / headroom 0.2 KB. Per the seat's conditional waiver, the console.ai.pendingDrafts.* keys stay in en.ts with their siblings. If a later merge of main reads over the ceiling, the whole group moves to a pack-shaped lazy namespace (@object-ui/i18n/namespaces/drafts, behind a frame in console/ai/). That move is prepared and measured as tests-green, but it is not applied.
  • Affected test dirs (app-shell console/ai, preview, layout, views/studio-design, chrome, the pulse test, and plugin-chatbot): 702 files, 5428 tests, all green on 2621daf.
    • New pins: usePublishAllDrafts.appScope-34610 (base + pair published, another app's not, the pair names the same app, the unscoped control), the pair and other-app cases in PendingDraftsBar and draftPreview-12968, the unpublished-app Publish keyed by the app name, the turn-end move and refresh in AiChatPage.draftInMainArea-34610, and the posture line under publishFromShellBar.
    • usePublishAllDrafts.appScope-34610 loads @objectstack/lint at module top (CI's check:test-source-alias on 2621daf).
    • Earlier in this PR, PendingDraftsBar.sentenceWraps-13088 had pinned a plural form that a test with no i18n instance cannot draw; its assertion is now plural-agnostic.
  • Type-check: app-shell tsc -p tsconfig.json and tsconfig.test.json exit 0, and plugin-chatbot tsc -p tsconfig.test.json exits 0. eslint on every changed file: 0 errors.
  • dispatch-gates --ran (first round): all 51 derived families ran, 0 not measured. First-run reds and how each was answered:
    • The ui scripts/ suite still listed LiveCanvas.test.tsx in the dom-heavy list. Fixed in ui/vitest.config.mts.
    • check:test-source-alias: edited tests that reach the draft bar needed a module-top import '@objectstack/lint'. Added.
    • Two spec gates ran before a gitignored generated file existed. Re-run exit 0.
    • check:dts-closure needed a console build. Re-run exit 0.
  • Merges: origin/main merged cleanly three times, most recently 07f2861 (db45412). The branch was cut from feat(console-ai): the AI assistant is one right-side drawer, opened from the top-bar robot and maximized in place #34665's head; feat(console-ai): the AI assistant is one right-side drawer, opened from the top-bar robot and maximized in place #34665 was squash-merged, so its final head and then main were merged in. The PR is now 69 files, +1789 −2573.

Clause-②: yes (widening — new @object-ui/i18n locale keys, so TranslationKeys grows; and two additive @object-ui/plugin-chatbot changes: the optional ChatbotEnhanced prop publishFromShellBar and the optional opts.appSegment argument of onBuildMaterialized; nothing removed or renamed)
Metadata-protocol: none

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (No spec change.)
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: n/a.
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English. (The 维护者速读 block is the seat's maintainer summary.)
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WGufzidTEhaEGRzboS7xTa

…rom the top-bar robot and maximized in place

The console's chat drawer becomes the assistant's only container (ui
ADR-0057, amended by its Amendment A3):

- The top-bar robot toggles the drawer on the current page without
  navigating, and carries the plan-awaiting-approval marker. The floating
  bottom-right button is removed.
- The drawer's expand button makes the same element fill the window in
  place, with the conversation history as a column; the same button
  restores the rail, and leaving the page restores it too. At rail width the
  history is behind a History button; the phone sheet has one as well.
- What the drawer shows is a per-tab target (agent, conversation, package,
  fresh), held by the layout host (useConsoleChatDock) that ConsoleLayout and
  HomeLayout both mount. Pages open the drawer through useOpenAssistant;
  outside a host it falls back to the old address.
- The /ai, /ai/:agent and /ai/:agent/:conversationId routes render
  AiAddressRedirect, which arms the drawer on the address (open, filling the
  window) and lands on the declared home; a Builder handoff rides navigation
  state only.
- Home's "Build with AI" / "Ask AI" and app management's "Edit with AI" open
  the drawer. A new build still starts unbound.
- Inside an app, a builder's empty state names data questions as well as
  changes, and its first suggestions are data questions.
- The drawer's share button opens the share dialog (it was a no-op there).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzidTEhaEGRzboS7xTa
…ate zh-Hant from zh-Hans

chatDockTarget's storage pins read window, so they live in a .tsx file like
chatDockReturnLocation's. zh-Hant.ts is the generator's output
(gen:zh-hant), so the new description is written by it, not by hand.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzidTEhaEGRzboS7xTa
…in the edited layout tests

check:test-source-alias judges edited test files: ConsoleLayout reaches
import('@objectstack/lint') through the draft bar's publish preflight, so
each edited test that mounts it loads the module at module top.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzidTEhaEGRzboS7xTa
…with one Publish on screen

objectstack#34610 (ruling 6937505798; ui ADR-0057 Amendment A3 and
ADR-0037 as amended in #34640).

- The drawer's build moves the console's main area to the app it builds,
  in the regime ADR-0045 gives it: a materialized new or unpublished app
  shows as the real app (UnpublishedAppBar publishes it); changes to a
  published app show in ?preview=draft (the draft bar publishes them).
  A new app moves in only after its package binds; a move to another page
  waits for the turn to end; a reopened conversation moves nothing. Each
  drafted artifact refreshes the main area in place (one coalesced
  invalidation per type), and once more when the turn ends.
- The LiveCanvas iframe, the split pane and the dock's auto-maximize
  latch are removed.
- One Publish on screen: the chat's draft cards and its pending line no
  longer publish. The line points to the bar or offers Show draft, and a
  publish from the bar lands in the chat as a receipt.
- One count: the draft bar, its changes panel and the chat read the
  current app's package drafts; the bar's publish is scoped to that
  package and no longer reloads the page.
- Two wordings: "not published yet" for an unpublished app, "N
  unpublished changes" on the draft bar.
- Studio's copilot expand widens the copilot in place instead of
  navigating to /ai/build.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzidTEhaEGRzboS7xTa
…-lziftn

# Conflicts:
#	ui/packages/app-shell/src/layout/ConsoleLayout.tsx
select-affected-tests reads every file the list names as tracked; the
file went with the LiveCanvas host.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzidTEhaEGRzboS7xTa
…in the edited preview tests

check:test-source-alias: both edited tests reach import('@objectstack/lint')
through the draft bar's publish preflight.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzidTEhaEGRzboS7xTa
…awer-build

# Conflicts:
#	ui/packages/app-shell/src/chrome/KeyboardShortcutsDialog.wiredOnly-11674.test.tsx
#	ui/packages/app-shell/src/console/ai/AiChatPage.tsx
#	ui/packages/app-shell/src/console/ai/__tests__/AiChatPage.draftsBarInFlow-12978.test.tsx
#	ui/packages/app-shell/src/layout/ChatDock.tsx
#	ui/packages/app-shell/src/layout/ChatDockConversation.tsx
#	ui/packages/app-shell/src/layout/__tests__/ChatDock.appBinding-10926.test.tsx
#	ui/packages/app-shell/src/layout/__tests__/ChatDock.partialRuntimeConfig.test.tsx
#	ui/packages/app-shell/src/layout/__tests__/ChatDock.test.tsx
#	ui/packages/app-shell/src/layout/__tests__/ConsoleLayout.appBrandingLogo-10827.test.tsx
#	ui/packages/app-shell/src/layout/__tests__/ConsoleLayout.dockBinding-10926.test.tsx
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 17, 2026
… drafts

Test UI (16/16) on 6a8506e: runtime-metadata-persistence.pendingDraftsPulse-13139
failed 3 cases. The draft bar now counts the current app's package
(_drafts?package=), and the test's fake ledger answered only the
unscoped read. The fake now resolves showcase_app to its package and
answers that read.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzidTEhaEGRzboS7xTa
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzf35CD4CvA4nKbwwUn

L1: REWORK
Head-sha: a33148b

L1 read of #34713 for #34610 (2026-11-17T08:53Z). Merge-base a931063, 10 commits, 65 files, +1329/−2559. Size Tier H: check-governed-merges --pr 34713 finds 0 governed paths, but 3888 changed lines is over the 3000-line human-merge line. After L1 it needs an APPROVE from GOVERNED_APPROVERS before any landing. CI is green on this head (58 check runs, none failed).

What holds:

  • The merges are clean. The PR diff against main, without the one file a33148b adds, is byte-identical to the pre-merge AI 搭建:在右侧抽屉里搭建,主区域直接显示应用草稿本身;去掉嵌套预览,整屏一个发布按钮、一个改动数 #34610 diff 910dbebc..f2fcf9eb, after normalizing index and hunk headers. So the two merges (25e013b, then origin/main) brought nothing in.
  • The changeset is right. It names @object-ui/app-shell, @object-ui/plugin-chatbot and @object-ui/i18n, the three published packages whose src moved. It lists the keys the console no longer reads.
  • The new keys are in all 11 packs (plural forms per locale), and no existing value changed. The zh-Hans text matches the card's wording (「这个应用还没发布过」, 「这个应用有 N 项未发布的改动」).
  • The two ADR-0045 bars never stack. UnpublishedAppBar returns null under ?preview=draft (UnpublishedAppBar.tsx:73). mainAreaDraftMove drops the preview flag for a materialized build, so a new app shows its own bar and an edit to a published app shows the draft bar.
  • There is one Publish. publishFromShellBar removes both card Publish buttons in ChatbotEnhanced, and PendingDraftsBar no longer publishes.
  • There is one count. DraftPreviewBar, DraftChangesPanel and publishAll read _drafts?package= for the route app's package.
  • Nothing still references the deleted code. LiveCanvas, clampChatPaneWidth and narrowSplit have no remaining readers under ui/ (one historical comment in check-eager-closure-budget.mjs).
  • The Studio copilot widens in place (StudioRightSlot wideWidth) and no longer navigates to /ai/build.

All four must-fix items below can be answered with comments. M2 may need a push. I re-read on the head they leave.

Must-fix

M1. No live readings for the card's acceptance. The unit pins are good evidence for mainAreaDraftMove and for the bar wiring. But all four acceptance items are about what one screen shows across the drawer, the main area's router and the shell bars. This head also drops the page reload after a draft-bar publish (DraftPreviewBar.tsx:95–102) and relies on the refresh pulse to re-read the published registry. #34656, #34665 and #34677 were held to the same standard. Please post readings from a booted console on the pushed head, with screenshots under /mnt/project-files/objectstack-seat3/34610-live/:

  1. Acceptance 1. In an existing published app, ask the drawer to add a field. Read three things: the main area stays on (or moves to) that app with ?preview=draft, the field appears in place, and the draft bar is on top. Also give the count of iframe elements in the document: 0.
  2. Acceptance 2. Start a new build from a page outside any app and confirm the plan:
    • Before the package binds, the main area stays on that page.
    • After it binds, the main area is the new app with its own nav menu, showing UnpublishedAppBar (「这个应用还没发布过」) and no draft bar.
  3. Acceptance 3.
    • The count of visible Publish buttons on the whole screen is 1, with the drawer open and the result card drawn.
    • The draft bar's number, the changes panel's number and the chat line's number are equal.
    • Also read one case where another package has drafts in the same environment, so the per-package scope is shown, not assumed.
  4. Acceptance 4.
    • Publish from the bar. The receipt shows in the chat, the bar is gone and the drawer conversation survives, with no reload.
    • A reload of the page afterwards shows the published field.
  5. Studio. The copilot's expand widens in place (URL unchanged), and the same button restores it.
  6. Phone width (375 px). One shot of the drawer build with the draft bar, since the mobile canvas pill and overlay were removed.

M2. The i18n-locale-en budget (seat ruling, 2026-11-17 08:41Z, which came after this head was pushed).

  • (a) The reading is not reported. The PR body does not report the check:eager-closure reading for i18n-locale-en. Please run it on the pushed head after merging main, and put the figure in the body. feat(studio): Open app returns from the workbench to the running app; the switcher hides kernel packages #34677 (still open) measured 60.0 KB under its ceiling, and this PR adds about 2 KB raw to eager en.ts.
  • (b) Five new key groups belong to lazy surfaces.
    • The keys are console.ai.pendingDrafts.publishFromBar and showDraftToPublish (each with _one and _other), plus showDraft, receipt and dismissReceipt.
    • Only PendingDraftsBar.tsx:100–145 reads them. It is reached only through ChatDock's React.lazy ChatDockConversation (ChatDock.tsx:222) and through the lazy Studio route (StudioRoute.tsx:74). The budget checker's own notes record that PendingDraftsBar left the eager closure.
    • Under the ruling, new keys for lazy surfaces go to a lazy namespace. Either move them, or have the seat waive it for this group, since its older siblings already sit in eager en.ts.
    • The preview.draftBar.pendingInApp and preview.unpublishedBar.notPublishedYet keys are correct in eager en.ts, because ConsoleLayout.tsx:22–23 imports both bars statically.

M3. The Clause-② line in the claim does not match the changeset.

  • The claim (amendment 6941596951) declares Clause-②: yes (widening: new locale keys only). On that basis the seat's rule makes L1 the review of record, with no L2.
  • The changeset declares yes (widening — new @object-ui/i18n locale keys, and a new optional ChatbotEnhanced prop and callback argument). The diff has both:
    • publishFromShellBar?: boolean;
    • onBuildMaterialized?: (appName, opts?: { appSegment?: string }).
  • The PR body says only Clause-②: yes.
  • What to do: restate the claim's Clause-② line to match the changeset, and make the PR body line say the same.
  • The seat decides L2. This widening of the @object-ui/plugin-chatbot API is outside the locale-keys-only rule, so the seat decides whether it needs an L2. Both additions are optional and additive, and the only in-repo caller is AiChatPage.

M4. One changed file is outside the claim surface.

  • ui/packages/app-shell/src/views/runtime-metadata-persistence.pendingDraftsPulse-13139.test.tsx is added by a33148b, after the os-dev report and the 07:23Z amendment.
  • Neither amendment names views/ outside views/studio-design/**, so the seat needs to post an amendment naming it.
  • The PR body's "64 files, +1316 −2556" predates this commit. The PR is now 65 files, +1329 −2559.

Should-fix

None beyond the must-fix items.

Notes

  • A preview outside any app. On a page outside /apps/:app (no route app), draftBarPackageOf returns null. The bar then counts and publishes environment-wide, as before, and shows the older generic wording. That is consistent with the card, because there is no current app to scope to. Worth one line in the PR body.
  • The deviations are stated, and I accept them as reasoned:
  • Deleted tests. Seven test files went with the code they pinned. Two more were renamed and rewritten: previewDraft-12968 became draftInMainArea-34610, and studioCopilotOpenFullPage-12842 became studioCopilotWidenInPlace-34610. The new pins cover the behaviour that replaced them.
  • Routing. Tier H by size. After L1, this goes to the seat and to a GOVERNED_APPROVERS review (os-zhuang). M3 may add a seat L2.

…tion pair; four live-reading fixes

Found by the live readings L1-b asked for on #34713 (M1):

- A code-shipped app's edits are drafted into its ADR-0146 pair
  (`<base>.custom`), and `_drafts?package=<base>` does not list them, so
  the draft bar, its changes panel, the chat line and the bar's Publish
  read nothing for CRM. One app's scope is now its package plus its pair,
  filtered off the env-wide `_drafts` (`appDraftPackages`).
- The not-yet-published bar saved the app under the route segment, the
  package id for every AI-built app (ADR-0048), which the meta door
  refuses. It saves under the app's own name.
- An edit that re-drafts an artifact the conversation already listed never
  reached `onDraftArtifacts`, so the main area stayed out of draft mode. A
  finished live turn now shows its own drafted app and refreshes its types.
- Under `publishFromShellBar` the build result card no longer says to
  click Publish in the chat.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzidTEhaEGRzboS7xTa
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzidTEhaEGRzboS7xTa

Live readings on head 2621daf5 (L1-b REWORK 6943358263, M1)

Rig. A booted console on the pushed head: the Vite dev server (DEV_PROXY_TARGET=http://localhost:4710) over a fresh CRM example backend (pnpm --filter @objectstack/example-crm dev -- --fresh -p 4710, its own OS_HOME), driven by Playwright at 1440×900 and at 375 px. Only /api/v1/ai/** is stood in for. The stand-in streams a real AI SDK v5 UI-message stream, and before it streams a tool result it makes that turn's metadata writes against the real backend (package install, object, view and app saves in draft mode). Everything else is the real console against the real server: counts, bars, publish, receipts and the registry re-read. The script (live-readings.mjs), readings.txt, the stand-in log and 17 screenshots are in the project files under objectstack-seat3/34610-live/. Before any turn, the environment already held another package's draft (com.example.other:object:other_note), so every count below is checked against a second app.

Acceptance 2: a new build from a page outside any app (shots 2a, 2b, 2d)

  • Mid-turn, with the build's tool result streamed, the package installed and the app saved but the turn still open: the main area stays on /home.
  • After the turn ends (package bound): the main area is /apps/com.example.tracker/tracker_task, with nav ["Tasks"], the unpublished-app bar ("This app is not published yet. It works, but only builders can see it. Publish to make it visible to your users.") and no draft bar. Visible Publish buttons: unpublished-app-publish only. 0 iframes.
  • Publish from the unpublished-app bar: the bar is gone and the chat shows "Published. Your changes are live."
  • zh-CN (shot 2c): 「这个应用还没发布过。它可以正常使用,但只有搭建者能看到。发布后你的用户才能看到它。」

Acceptance 1: an edit to the published app, in place (shots 1a–1c; 1c is the New record form under preview)

  • Before: /apps/com.example.tracker/tracker_task, no draft bar.
  • After the drawer turn that adds the field "Priority": /apps/com.example.tracker/tracker_task?preview=draft, the same page. The draft bar is on top (rect y=48, under the header) and reads "Draft preview · 1 unpublished change in this app. Nothing here is live until you publish." 0 iframes.

Acceptance 3: one Publish, one count scoped to the app (shot 3a)

  • Visible Publish buttons, with the drawer open and the result card drawn: draft-preview-publish only.
  • Chat line: "1 unpublished change. Publish it from the draft bar at the top." Draft bar: "Changes (1)". Changes panel: "1 OBJECT · Task · tracker_task · Update".
  • Backend: env-wide _drafts lists other_note and tracker_task; ?package=com.example.tracker lists only tracker_task. Every count reads 1, not 2.

Acceptance 4: publish from the bar (shots 4a, 4b)

  • The receipt "Published. Your changes are live." shows in the chat. The draft bar is gone and the main area is /apps/com.example.tracker/tracker_task.
  • Same document, no reload (a window marker set before Publish survives). The drawer keeps both turns, the build and the edit.
  • A publish without a reload re-reads the registry: "Priority" is in the New record form right after Publish, with no reload. After a reload it is still there and the draft bar stays off.
  • Backend after Publish: ?package=com.example.tracker is [], and the env-wide list still holds only other_note.

3b: a code-shipped app (CRM), whose edit goes to its ADR-0146 pair (shots 3b, 3c)

  • Drawer header: "CRM". A drawer turn adds the column "Discount (%)" to crm_opportunity.all, and the view edit is drafted into com.example.crm.custom. The backend answers ?package=com.example.crm with [] and ?package=com.example.crm.custom with ["view:crm_opportunity.all"].
  • Main area: /apps/com.example.crm/crm_opportunity?preview=draft. The bar reads "1 unpublished change in this app" with "Changes (1)", the chat line reads 1 and the panel lists "1 VIEW · All Opportunities". The column shows in place. Visible Publish: draft-preview-publish only.
  • After Publish: the receipt shows, the bar is gone, ?package=com.example.crm.custom is [], other_note is untouched, and the column is live.

Studio: expand widens in place (shots 5a–5c)

  • /studio/com.example.crm/interfaces?surface=object%3Acrm_lead&nav=nav_leads: the copilot slot is 360 px wide.
  • Expand: the URL is unchanged, the slot is 920 px wide, aria-pressed is true.
  • The same button again: the URL is unchanged, 360 px, aria-pressed is false.

Phone, 375 px (shots 6a, 6b)

  • A drawer build: the main area is …/tracker_task?preview=draft. The drawer sheet is visible (375 wide), the chat line reads 1, the draft bar shows, 0 iframes and no horizontal overflow. With the drawer closed the draft bar still reads 1.

What the readings found, fixed in 2621daf5 and pinned

  1. Pair scope. A code-shipped app's edit is drafted into <base>.custom, so a count and a publish scoped to the base read 0 and published nothing. One app's scope is now its package plus its pair, read off the env-wide list. Pinned both ways: the pair's draft is counted and published under the app; another app's drafts and package-less drafts are not (usePublishAllDrafts.appScope-34610, PendingDraftsBar, draftPreview-12968).
  2. The unpublished-app bar's Publish was refused. It saved the app under the route segment, which is the package id (ADR-0048), and the meta door refuses an app whose name disagrees with its key. It now saves under the app's name (UnpublishedAppBar.test.tsx).
  3. A re-drafted artifact did not move the main area. ChatbotEnhanced calls onDraftArtifacts only when its set grows, so an edit to the object the previous turn built never reached it. A finished live turn now reads its own draft review, moves the main area to that app and refreshes the drafted types (AiChatPage.draftInMainArea-34610, for both the base and the pair).
  4. The build result card still said to click Publish in the chat. Under publishFromShellBar that sentence is not drawn (ChatbotEnhanced.buildCardsV2-12724).

One reading not met, and not from this PR

Under ?preview=draft, a field that exists only in a draft object is not in the New record form (Acceptance 1 reads false). A fresh ?preview=draft page load with the same draft, which none of this PR's code drives, does not show it either. So this is how far the preview overlay reaches into the record form, and it was there before this PR. After Publish the field shows with no reload (Acceptance 4). A draft view column on such a field makes the list query refused, so the script drafts only the object.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzf35CD4CvA4nKbwwUn

L1: ACCEPT
Head-sha: 2621daf

Delta L1 read of #34713 for #34610 (2026-11-17T10:58Z). REWORK 6943358263 was at a33148b. Two commits since:

  • 159bd73 merges origin/main dc66d33. It is a clean merge: its tree 1e3ed1ae equals git merge-tree --write-tree of its parents. It brings main's own commits into the branch, and none of them are in the PR diff.
  • 2621daf is one fix commit. It touches 15 files, +492/−51, all inside the claim as amended. preview/**, console/ai/** and plugin-chatbot/src/** are named. views/runtime-metadata-persistence.pendingDraftsPulse-13139.test.tsx is named by amendment 6943381037.

PR now: 69 files, +1784/−2573. Tier H by size: check-governed-merges finds 0 of 70 governed paths, but the change count is over 3000 lines. It merges cleanly with current origin/main 6091b64.

M1 (live readings): answered. Comment 6946030683 reads a booted console on this head over a real CRM backend. Only /api/v1/ai/** is stood in for, and that stand-in makes the turn's real metadata writes before it streams. Another package's draft (other_note) sat in the environment throughout.

  • Acceptance 2. Before the package binds, the main area stays on /home. After the turn, it is /apps/com.example.tracker/tracker_task, with the app's own nav. The unpublished-app bar shows (zh 「这个应用还没发布过…」), there is no draft bar, the one visible Publish is that bar's, and there are 0 iframes. Publishing from it gives the receipt.
  • Acceptance 3. The only visible Publish is draft-preview-publish. The chat line, the bar's "Changes (1)" and the panel all read 1, while the env-wide _drafts lists 2. The per-package scope is shown, not assumed.
  • Acceptance 4. The receipt shows, the bar is gone, both drawer turns survive, and a window marker proves there was no reload. The new field is in the form right after Publish with no reload, and still there after a reload, so the registry re-read works without the old page reload.
  • Pair case (ADR-0146). A CRM view edit drafts into com.example.crm.custom. The app's bar, panel and chat count it, and Publish clears it.
  • Studio. Expand widens 360 → 920 px with the URL unchanged, and the same button restores it.
  • Phone, 375 px. The draft bar shows with the drawer open and closed, with no overflow and 0 iframes.

The four defects the readings found are fixed and pinned in 2621daf:

  • Pair scope. appDraftPackages makes an app's scope its package plus its .custom pair. It is read off the env-wide list, so other apps and package-less drafts stay out. Pinned both ways in usePublishAllDrafts.appScope-34610, PendingDraftsBar and draftPreview-12968.
  • UnpublishedAppBar save. It now saves under the app's name, not the route's package id, which the meta door refused.
  • Re-drafted artifacts. A finished live turn reads its own draft review, then moves and refreshes the main area. The effect acts only on the isLoading true → false edge, so its new messages dependency adds no per-token work.
  • Build result card. It drops the "click Publish here in the chat" sentence under publishFromShellBar.

M2 (budget): answered under the seat's conditional waiver (amendment 6943381037). The body reports i18n-locale-en at 61,746 B gzip after merging main at 159bd73, under the 62,000 B ceiling.

M3 (Clause-②): answered. Amendment 6943381037 restates it: new locale keys, plus two additive @object-ui/plugin-chatbot exports, with a seat L2 on that face. The body follows it.

M4 (claim surface and body counts): answered. The same amendment names the test file, and the body's counts are current.

Must-fix

None.

Should-fix

S1. Acceptance 1 is only partly met, and the seat should record it before asking os-zhuang.

  • The card reads 「主区域原地出现该字段」. The readings show the field's object drafted, the page in place under ?preview=draft, and the draft bar on top.
  • But a field that exists only in a draft object is not in the New record form under preview (1c). A draft view column on such a field makes the list query refused, so the column cannot show either.
  • The card thread shows this is pre-existing: a fresh ?preview=draft page load, which none of this PR drives, does not show the field either. It also lies outside this card's surface, since it concerns how far the preview overlay reaches into the record form and the list query.
  • Fixes #34610 will close the card, so the seat should do two things:

Notes

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 2621daf501b18c77905fbda046c2f6a12ade39d4
Local-runs: none

Face: declaration (Clause-②: yes, claim amendment 08:55Z). Check-runs: 23 success, 13 skipped, 0 failed. 22 are still in progress: Type Check UI, Lint UI, Build & E2E UI, Test UI 1–16/16, Lint · CI release & engine gates, Lint · PM dispatch-gates and Lint · scoped · slot lookup & corpus. Every completed run is green, so this PASS rests on those, and the pending runs remain the merge gate.

① Derived judgments

  • @object-ui/plugin-chatbot is published, and its . entry exports ChatbotEnhanced and ChatbotEnhancedProps. The new prop publishFromShellBar?: boolean defaults to false, and every new code path checks it, so existing consumers see no change. Right. onBuildMaterialized now takes (appName, opts?: { appSegment?: string }), and a one-argument callback still type-checks. Right, additive. Nit: appSegment is pinned only through the AiChatPage stub, not by a plugin-chatbot test.
  • @object-ui/i18n is published (. and ./locales/*). Seven key groups were added to all 11 packs, with each language's plural forms complete. Nothing was removed. The exported en and TranslationKeys grow. Right. Nit: the changeset does not say that TranslationKeys grows.
  • @object-ui/app-shell is private: true, so its removals (LiveCanvas, the maximize latch) and its new exports are not published surface. Right.

② Semver level

Every package takes patch. That matches Metadata-protocol: none, since a non-protocol widening ships patch, and all three packages are in the single fixed group. Right. The Clause-②: yes (widening …) line opens a line in both the PR body and the changeset, and Check Changeset is green. Right. Non-blocking: the changeset does not name @object-ui/console, the published tarball that bundles this UI, so its CHANGELOG gets no entry. 17 of the 36 app-shell changesets on main name it.

③ Boundary flags

  • open_questions: []. The files outside the claim were answered by the 07:23Z amendment. The keys the console no longer reads stay in place and are listed in the changeset, which is not a narrowing. The rememberDockReturnLocation follow-up went to the filer.
  • i18n budget waiver: the PR body reports 61,746 B at 159bd730, under the ceiling. Since then, main's feat(console): phone Home folds the setup checklist to one line after the apps; the phone bar's badge and title fit #34723 added an en.ts key, and the headroom was 0.2 KB. Escalated: take a new reading at the next main merge.
  • SQL push-down: the draft bar now reads the environment-wide _drafts and filters for the app and its customization pair on the client, where it used to use ?package=. The PR gives a reason: ?package= refuses a pair that is not installed. Not a finding. Follow-up: an app-scoped _drafts read on the server.
  • The PR is still a draft.

Implemented-by: claude/issue-34610-drawer-build
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzf35CD4CvA4nKbwwUn

L1: ACCEPT
Head-sha: c80f1db

Delta L1 read of #34713 for #34610 (2026-11-17T11:44Z). My last ACCEPT, 6946095489, was at 2621daf. Two commits have landed since.

db45412 merges origin/main 07f2861, which includes #34723.

  • The merge is byte-clean: its tree 3c81e2a8 equals git merge-tree --write-tree of its parents.
  • Every non-merge commit it brings in is already on main.

c80f1db is the only new content. It touches 2 files, +7/−2:

  • The changeset now names @object-ui/console. That package is published, and it bundles @object-ui/app-shell.
  • The Clause-② line in the changeset now says more. It restates the line as: new locale keys, so TranslationKeys grows, plus the two additive @object-ui/plugin-chatbot changes, by name. It says nothing is removed or renamed. This matches seat amendment 6943381037 and closes the gap M3 found.
  • usePublishAllDrafts.appScope-34610.test.tsx now loads @objectstack/lint at module top. This clears check:test-source-alias. The file is inside the amended claim.

The PR diff is otherwise unchanged. Against the diff at 2621daf, with index and hunk headers normalized, it differs only by those changeset lines and the two test lines. It is now 69 files, +1789/−2573, and the body says the same. It merges cleanly with current origin/main 3bbda33.

CI is green on this head. One PR-body guard run was cancelled and superseded, and its rerun passed. My earlier budget note is answered:

S1 is tracked. The body's not-met line for acceptance 1 now cites follow-up card #34807.

Must-fix

None.

Should-fix

None.

Notes

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract review

Served-tier: TIER_DEFAULT
Head-sha: c80f1db2d9ca244b3289f0300e6b2f777e62e670
Local-runs: none

Delta on 2621daf5..c80f1db2. Supersedes PASS 6946147316 @ 2621daf. Check-runs: 48 success, 13 skipped, 0 failed, 0 pending. One PR-body guards run was cancelled and a later run of it succeeded.

① Derived judgments

Merge db45412e takes main at 07f2861f. Its --remerge-diff is empty, so the merge resolved nothing. The net diff against main changes only in the changeset and in one test import (import '@objectstack/lint' at module top in usePublishAllDrafts.appScope-34610). ChatbotEnhanced and the locale hunks are byte-identical, so the earlier findings stand. One nit is still open: no plugin-chatbot test pins appSegment.

② Semver level

The changeset now names '@object-ui/console': patch, which closes the earlier non-blocking finding. Its Clause-②: yes (widening …) line, in both the changeset and the PR body, now says TranslationKeys grows and names both chatbot additions, which closes that nit. All four packages take patch and all four are in the fixed group. Right.

③ Boundary flags

Implemented-by: claude/issue-34610-drawer-build
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

席位记录 · 2026-11-17T11:48Z

Head-sha: c80f1db2d9ca244b3289f0300e6b2f777e62e670

维护者速读(终稿)

  • 改了什么:用 AI 搭建应用时,聊天留在右侧抽屉,主区域直接显示正在搭建的应用本身,每个草稿件原地刷新;去掉嵌套的预览 iframe 和分屏。新应用显示为真实应用,由顶部「尚未发布」条发布;已发布应用的改动在草稿预览里显示,由草稿栏发布。整屏只有一个发布按钮,聊天里只给指引和发布回执;计数统一为当前应用(应用包加它的定制包)的待发布改动。Studio 副驾的放大改为原地加宽。
  • 为什么改:AI 搭建:在右侧抽屉里搭建,主区域直接显示应用草稿本身;去掉嵌套预览,整屏一个发布按钮、一个改动数 #34610 的「同意」裁定(6937505798),设计依据 ADR docs(adr): ui ADR-0057 Amendment A3, the AI assistant is one right-side drawer, maximized in place #34640(一个容器、一个发布按钮)。实机读数中发现并修好四处缺陷:代码安装应用(如 CRM)的改动落在定制包时计数为 0、新应用发布被拒、再次起草不进草稿模式、结果卡仍叫人在聊天里点发布。
  • 风险与回滚:只改控制台前端(app-shell、plugin-chatbot 两个可选参数、i18n 新键),不动元数据、契约和服务端。英文语言包首屏体积 61,824 / 62,000 B,未改上限;若后合的 feat(studio): Open app returns from the workbench to the running app; the switcher hides kernel packages #34677 使其超限,已备好把这组文案移到按需加载的命名空间。回滚即 revert。
  • 先看:console/ai/mainAreaDraft.ts(主区去向与两种发布形态),再看 AiChatPage.tsx 的主区块和 PendingDraftsBar.tsx。
  • 两分钟验证:在一个已发布应用里让 AI 加一个字段,主区域原地进入草稿预览、顶部一条草稿栏写「1 项未发布改动」;点它的发布,字段即上线,聊天里出现回执。
  • 需要你做的:Tier H(69 个文件、+1789/−2573,超过 3000 行人工合并线;不触受管路径),请 os-zhuang 审批。L1-b ACCEPT 6947082979 与席位 L2 PASS 6947144167 都在本 head;批准后由 3 号座位交 o3-D 落地。

席位意见:建议批准。行数大主要是删掉旧的 Live Canvas 与分屏及其测试(−2573 行)。验收 1 有一处未完全达成且早于本 PR(见下),已立卡跟进。

席位核对

@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 44080289780 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Dogfood Regression Gate (2/3) — 失败步骤: Boot example apps and exercise real user flows

    @objectstack/dogfood:test:  FAIL   isolated  test/activity-text-predicate.dogfood.test.ts > [#21154] a query over activity text or the approval snapshot, by a reader withheld a field of its record > a
      ↳ 失败原因: (这条 FAIL 之后 12 行内没有可识别的原因行 —— 点进 job 看)
    @objectstack/dogfood:test:  FAIL   isolated  test/activity-text-predicate.dogfood.test.ts > [#21154] a query over activity text or the approval snapshot, by a reader withheld a field of its record > a
      ↳ 失败原因: (这条 FAIL 之后 12 行内没有可识别的原因行 —— 点进 job 看)
    @objectstack/dogfood:test:  FAIL   isolated  test/activity-text-predicate.dogfood.test.ts > [#21154] a query over activity text or the approval snapshot, by a reader withheld a field of its record > a
      ↳ 失败原因: @objectstack/dogfood:test: AssertionError: {"object":"sys_activity","records":[],"total":0,"hasMore":false}: expected 200 to be 403 // Object.is equality
    

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

历史信号:

  • 本 PR 过去 24h 无队列失败记录(首次)。
  • 过去 24h 队列共有 24 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzidTEhaEGRzboS7xTa

Queue build 44080289780 failed in Dogfood Regression Gate (2/3), in test/activity-text-predicate.dogfood.test.ts (#21154). The sys_activity query by a reader who is withheld a field answered 200 where 403 was expected.

This is not a change in this PR. Every file #34713 changes is under ui/ or .changeset/: the console front end, @object-ui/plugin-chatbot and i18n packs. It touches no server, query or permission code, and the dogfood gate boots the example apps against the server's query path. The same signature ejected the whole speculative stack it was in (#34744, #34751, #34813, #34817), and it is tracked in #34829.

The head (c80f1db2) is unchanged and green, so nothing is pushed. Re-queueing is left to the seat and the approver once #34829 is understood.

Merged via the queue into main with commit 14619f5 Nov 17, 2026
67 of 68 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-34610-drawer-build branch November 17, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AI 搭建:在右侧抽屉里搭建,主区域直接显示应用草稿本身;去掉嵌套预览,整屏一个发布按钮、一个改动数

3 participants